﻿//using System;
//using System.Collections.Generic;
//using System.ComponentModel.DataAnnotations;
//using System.Linq;
//using System.Threading.Tasks;

//namespace _17bang.Model
//{
//    public class MRegister
//    {
//        [Required(ErrorMessage = "*邀请人不能为空")]
//        public string InvitedByName { get; set; }
//        [StringLength(4, MinimumLength = 4, ErrorMessage = "*邀请码只能是4位数字")]
//        [Required(ErrorMessage = "*邀请码不能为空")]
//        public string InvitedByCode { get; set; }
//        [Required(ErrorMessage = "*用户名不能为空")]
//        public string Name { get; set; }
//        [MinLength(4, ErrorMessage = "*密码的长度至少为4位")]
//        [Required(ErrorMessage = "*密码不能为空")]
//        public string Password { get; set; }
//        [StringLength(4, MinimumLength = 4, ErrorMessage = "*验证码的长度只能为4")]
//        [Required(ErrorMessage = "*验证码不能为空")]
//        public string Code { get; set; }
//        public string VerifyPassword { get; set; }


//    }
//}
